﻿using System.Web.Mvc;

namespace Web.Manage.Areas.Order
{
    public class OrderAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Order";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "OrderDefault",
                "Order/{controller}/{action}/{param}",
                new { controller = "Home", action = "Index", param = UrlParameter.Optional }
            );
        }
    }
}
